﻿#region 版权信息
// ------------------------------------------------------------------------------
// Copyright: (c) 2029  成都A+有限公司 - Amm
// 项目名称：Amm.Services
// 文件名称：VerifyCodeOutputDto.cs
// 创建时间：2020100713:40
// 更改时间：2020100713:40
//  ------------------------------------------------------------------------------
#endregion

using System;
using System.Collections.Generic;

namespace Colorful.Furniture.SysManagement
{
    /// <summary>
    ///  验证码输出体
    /// </summary>
    public class VerifyCodeOutputDto
    {
        /// <summary>
        ///  验证码Id
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        ///  验证码
        /// </summary>
        public string Code { get; set; }
    }

    /// <summary>
    ///  级联选项体
    /// </summary>
    public class CascadeOutputDto
    {
        /// <summary>
        ///  编码
        /// </summary>
        public Guid Value { get; set; }

        /// <summary>
        ///  标题
        /// </summary>
        public string Label { get; set; }

        /// <summary>
        ///  父级id
        /// </summary>
        public Guid? ParentId { get; set; }

        /// <summary>
        /// 代码
        /// </summary>
        public string Code { get; set; }
        
        /// <summary>
        ///  图标
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        ///  值
        /// </summary>
        public string Value1 { get; set; }

        /// <summary>
        ///  子集
        /// </summary>
        public List<CascadeOutputDto> Children { get; set; }
    }
}